Optimal. Leaf size=33 \[ \frac{1}{6} x^6 (a B+A b)+\frac{1}{5} a A x^5+\frac{1}{7} b B x^7 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0340203, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {76} \[ \frac{1}{6} x^6 (a B+A b)+\frac{1}{5} a A x^5+\frac{1}{7} b B x^7 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 76
Rubi steps
\begin{align*} \int x^4 (a+b x) (A+B x) \, dx &=\int \left (a A x^4+(A b+a B) x^5+b B x^6\right ) \, dx\\ &=\frac{1}{5} a A x^5+\frac{1}{6} (A b+a B) x^6+\frac{1}{7} b B x^7\\ \end{align*}
Mathematica [A] time = 0.005234, size = 33, normalized size = 1. \[ \frac{1}{6} x^6 (a B+A b)+\frac{1}{5} a A x^5+\frac{1}{7} b B x^7 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0., size = 28, normalized size = 0.9 \begin{align*}{\frac{aA{x}^{5}}{5}}+{\frac{ \left ( Ab+Ba \right ){x}^{6}}{6}}+{\frac{bB{x}^{7}}{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.10792, size = 36, normalized size = 1.09 \begin{align*} \frac{1}{7} \, B b x^{7} + \frac{1}{5} \, A a x^{5} + \frac{1}{6} \,{\left (B a + A b\right )} x^{6} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.72544, size = 74, normalized size = 2.24 \begin{align*} \frac{1}{7} x^{7} b B + \frac{1}{6} x^{6} a B + \frac{1}{6} x^{6} b A + \frac{1}{5} x^{5} a A \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.063954, size = 29, normalized size = 0.88 \begin{align*} \frac{A a x^{5}}{5} + \frac{B b x^{7}}{7} + x^{6} \left (\frac{A b}{6} + \frac{B a}{6}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20309, size = 39, normalized size = 1.18 \begin{align*} \frac{1}{7} \, B b x^{7} + \frac{1}{6} \, B a x^{6} + \frac{1}{6} \, A b x^{6} + \frac{1}{5} \, A a x^{5} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]